package main

import (
	"github.com/gin-gonic/gin"
	"soul/api"
	"soul/inits/model"
	"soul/inits/redisinit"
)

func main() {
	model.MysqlInit()
	redisinit.RedisInit()
	router := gin.Default()
	api.Soul(router)
	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
